You will have to explain in much more detail what you are really trying to achieve.
A form is a user interface design. Notes does not store your data in forms. Notes stores your data in documents.
A NotesForm is a LotusScript object. It partly represents a form in LotusScript, but it is not a form.
Now, what do you really want to create with this agent?
Do you want to create LotusScript objects (NotesForm objects)? Probably not. You cannot use them for anything much.
Do you want to create user interface designs (forms)?
Do you want to store data (in documents)?